package de.recipeminer.crawling.chefkoch;

import de.recipeminer.models.UniquelyIdentifiable;
import de.recipeminer.models.processing.ProcessingArtifact;
import de.recipeminer.models.processing.ProcessingPhase;
import org.apache.log4j.Logger;

@ProcessingArtifact(processingPhase = ProcessingPhase.RAW, aggregated = false)
public class ChefkochJsonRecipe implements UniquelyIdentifiable{
    private static Logger logger = Logger.getLogger(ChefkochJsonRecipe.class);
    private String UUID;
    private String jsonData;
    
    public ChefkochJsonRecipe(String UUID, String jsonData){
        logger.info(String.format("Creating JsonRecipe with uuid: %s", UUID));
        this.UUID=UUID;
        this.jsonData = jsonData;
    }
    
   public String getJsonData() {
        return jsonData;
    }

    @Override
    public String getUUID() {
        return UUID;
    }
}
